package cn.gdut.chengcai.base;

import java.io.Serializable;

public class ResponseData<Object> implements Serializable {

	public ResponseData() {
	}

	public ResponseData(Boolean isSuccess, Object data) {
		this.isSuccess = isSuccess;
		this.data = data;
	}

	public ResponseData(Boolean isSuccess, Integer errorCode, String message) {
		this.isSuccess = isSuccess;
		this.errorCode = errorCode;
		this.message = message;
	}

	public Boolean getIsSuccess() {
		return isSuccess;
	}

	public void setIsSuccess(Boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

	public Integer getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(Integer errorCode) {
		this.errorCode = errorCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public static long getSerialversionuid() {
		return 1L;
	}

	public Pager getPager() {
		return pager;
	}

	public void setPager(Pager pager) {
		this.pager = pager;
	}

	private static final long serialVersionUID = 1L;
	private Boolean isSuccess;
	private Integer errorCode;
	private String message;
	private Pager pager;
	private Object data;
}
